package com.ssy.lingxi.order.model.constant;

import com.ssy.lingxi.common.language.LanguageHolder;
import com.ssy.lingxi.order.model.vo.basic.response.DropdownItem;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * 送货相关外部状态枚举
 * @author czh
 * @version 2.0.0
 * @date 2021-07-16
 */
public enum BaseDeliveryEnum {

    DELIVERY_PLAN_SERIAL_NO(1, "DL"),

    NOTICE_ORDER_SERIAL_NO(2, "SA"),

    DELIVERY_ORDER_SERIAL_NO(3, "FH"),

    RECEIVE_ORDER_SERIAL_NO(4, "SH"),

    DEFAULT_START_TIME(5,"08:00"),

    DEFAULT_END_TIME(6,"12:00"),

    RECEIVE_ORDER_CN(7,"送货单");

    BaseDeliveryEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    /**
     * 外部状态枚举值
     */
    private Integer code;

    private String name;

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
